#ifndef MAINWIDGET_H
#define MAINWIDGET_H

#include <QWidget>
#include <QStackedLayout>
#include <login.h>
#include <login2.h>
#include <selectmethod.h>
#include <testing.h>
#include <login2.h>
#include <methoddevelop.h>
#include <settings.h>
#include <registration.h>


namespace Ui {
class MainWidget;
}

class MainWidget : public QWidget
{
    Q_OBJECT

public:
    explicit MainWidget(QWidget *parent = nullptr);
    ~MainWidget();

    Login *login = new Login;
    Login2 *login2 = new Login2;
    SelectMethod *selectmethod = new SelectMethod;
    MethodDevelop *methoddevelop = new MethodDevelop;
    Settings *settings = new Settings;
    Testing *testing = new Testing;
    Registration *registration = new Registration;

    QStackedLayout *stackLayout = new QStackedLayout;	//QStackedLayout布局
    Ui::MainWidget *ui;
    //发现WiFi已连接时,将WiFi标识显示
    void wifishow(bool num);
    void on_progressBar_valueChanged(int value);
private slots:


private:

};

#endif // MAINWIDGET_H
